//
//  SlideBarItemButton.h
//  WEIMO
//
//  Created by Lixiaoyong on 13-6-13.
//  Copyright (c) 2013年 广州从兴电子开发有限公司. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "KeyValueObject.h"

@interface SlideBarItemButton : UIButton

//图片
@property (nonatomic,retain) UIImageView *middleImage;

//名称
@property (nonatomic,retain) UILabel *itemName;

//数据
@property (nonatomic,retain) KeyValueObject *item;

//设置frame
- (void)refreshSelfFrame:(CGRect)frame;

//
//更改字体状态
//flag:YES-选中状态   NO-normal状态
- (void)refreshButtonState:(BOOL)flag;
@end